import java.util.Arrays;

public class Test {
    public static void main(String[] args) {

        Students[]students= new Students[3];
        students[0]=new Students("Zhangsan",10);
        students[1]=new Students("Lisi",5);
        students[2]=new Students("Abc",15);
        Arrays.sort(students);
        System.out.println(Arrays.toString(students));

    }
}
